import {CurrentUser} from "../model/user";

let currentUser: CurrentUser;

const setCurrentState = (user:CurrentUser)=>{
    currentUser = user
}

const getCurrentState = ():CurrentUser => {
    return currentUser;
}

export {
    setCurrentState,getCurrentState
}